import request from '@/utils/request'

// 查询教学评价考试题目列表
export function listAppraiseQues(query) {
  return request({
    url: '/edu/appraiseQues/list',
    method: 'get',
    params: query
  })
}

// 查询教学评价考试题目详细
export function getAppraiseQues(examId) {
  return request({
    url: '/edu/appraiseQues/' + examId,
    method: 'get'
  })
}

// 新增教学评价考试题目
export function addAppraiseQues(data) {
  return request({
    url: '/edu/appraiseQues',
    method: 'post',
    data: data
  })
}

// 修改教学评价考试题目
export function updateAppraiseQues(data) {
  return request({
    url: '/edu/appraiseQues',
    method: 'put',
    data: data
  })
}

// 删除教学评价考试题目
export function delAppraiseQues(examId) {
  return request({
    url: '/edu/appraiseQues/' + examId,
    method: 'delete'
  })
}

// 导出教学评价考试题目
export function exportAppraiseQues(query) {
  return request({
    url: '/edu/appraiseQues/export',
    method: 'get',
    params: query
  })
}